/**
 * Sumpu Inc.
 * Copyright (c) 2011-2012 All Rights Reserved. 
 */
package cn.sumpu.app.guoguojie.biz;

import cn.sumpu.app.guoguojie.exception.AppBusinessException;

/**
 * @author nick
 * @version $Id: Appconf.java, v 0.1 2012-9-9 下午01:54:13 nick Exp $
 */
public interface AppconfBiz {
    /**
     * 获取果果街返利比率.
     * 
     * @return 果果街返利比率
     * @throws AppBusinessException 获取失败
     */
    double getGuoguojieCommissionRate() throws AppBusinessException;

    /**
     * 设置果果街返利比率.
     * 
     * @param guoguojieCommissionRate 果果街返利比率
     * @throws AppBusinessException 设置失败
     */
    void setGuoguojieCommissionRate(String guoguojieCommissionRate) throws AppBusinessException;

    /**
     * 获取果果街佣金最小值.
     * 
     * @return 果果街佣金最小值
     * @throws AppBusinessException 获取失败
     */
    double getGuoguojieCommissionMin() throws AppBusinessException;

    /**
     * 设置果果街佣金最小值.
     * 
     * @param guoguojieCommissionMin 果果街佣金最小值
     * @throws AppBusinessException 设置失败
     */
    void setGuoguojieCommissionMin(String guoguojieCommissionMin) throws AppBusinessException;

    /**
     * 获取淘宝开放平台回话令牌.
     * 
     * @return 淘宝开放平台回话令牌.
     * @throws AppBusinessException 获取失败
     */
    String getTopSession() throws AppBusinessException;

    /**
     * 设置淘宝开放平台回话令牌.
     * 
     * @param topSession 淘宝开放平台回话令牌.
     * @throws AppBusinessException 设置失败
     */
    void setTopSession(String topSession) throws AppBusinessException;

}
